import java.util.Date;


public class Transaction {
	private final int amount;
	private final Date date;
	
	public Transaction(Date date, int amount) {
		this.date = date;
		this.amount = amount;
	}

	public int getAmount() {
		return amount;
	}

	public Date getDate() {
		return date;
	}
}
